package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Programming
 *@date 2017/6/28 0028
 */

public class FindSubAccountBean {

    /**
     * message : 处理成功
     * rows : [{"admin":false,"id":"64afd63027674d0faf5157fd14db9ed9","isNewRecord":false,"loginFlag":"1","loginName":"13055905808","mobile":"13055905808","name":"测试子账户","roleNames":"","userType":"12"},{"admin":false,"id":"e793ddf37c2f4e9d90ea93089f7702fc","isNewRecord":false,"loginFlag":"1","loginName":"15880431048","mobile":"15880431048","name":"测试子账户3","roleNames":"","userType":"12"}]
     * success : 00
     * total : 2
     */

    private String message;
    private int success;
    private int total;
    private List<RowsBean> rows;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * admin : false
         * id : 64afd63027674d0faf5157fd14db9ed9
         * isNewRecord : false
         * loginFlag : 1
         * loginName : 13055905808
         * mobile : 13055905808
         * name : 测试子账户
         * roleNames :
         * userType : 12
         */

        private boolean admin;
        private String id;
        private boolean isNewRecord;
        private String loginFlag;
        private String loginName;
        private String mobile;
        private String name;
        private String roleNames;
        private String userType;

        public boolean isAdmin() {
            return admin;
        }

        public void setAdmin(boolean admin) {
            this.admin = admin;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getLoginFlag() {
            return loginFlag;
        }

        public void setLoginFlag(String loginFlag) {
            this.loginFlag = loginFlag;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getRoleNames() {
            return roleNames;
        }

        public void setRoleNames(String roleNames) {
            this.roleNames = roleNames;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }
    }
}
